package com.eclink.asset.workflow.domain.dao;

import com.baomidou.mybatisplus.annotation.TableId;
import com.eclink.asset.domain.dao.CommonEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 待办对象
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class Todo extends CommonEntity {

    private static final long serialVersionUID = -8601126646242470784L;

    @TableId
    private Long id;

    private String applyId;

    private String taskId;

    // 申请类型
    private String applyType;

    // 申请类型名称
    private String applyTypeName;

    private String applyNumber;

    private Long userId;

    // 申请用户ID
    private Long applyUserId;

    // 申请用户名称
    private String applyUserName;

    // 申请时间
    private LocalDateTime applyTime;

    // 申请公司ID
    private Long applyCompanyId;

    // 申请公司名称
    private String applyCompanyName;

    // 申请部门ID
    private Long applyDeptId;

    // 申请部门名称
    private String applyDeptName;

    // 待办类型
    private Integer todoType;

    // 是否同意 1-同意 2-驳回
    private Integer pass;

    // 是否完成
    private boolean finish;

    private String remark;



}
